/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package test.view;

import com.model.Anggota;
import javax.swing.JOptionPane;

/**
 *
 * @author admin
 */
public class testAnggota {

    public static void main(String[] args) {
        Anggota test = new Anggota();
        test.setNama("maria");
        try {
                test.setIdAnggota("123");
        }  catch (Exception ex) {
            JOptionPane.showMessageDialog(null, ex.getMessage());

        }

    }
}
